

#ifndef _SHELL_RESGANGFIGHTINFOS_MESSAGE_H_
#define _SHELL_RESGANGFIGHTINFOS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "GangFightBean.h"
//#include <vector>
using namespace std;

class ResGangFightInfosMessage : public Message
{
	public:
	ResGangFightInfosMessage();
	~ResGangFightInfosMessage();
	void reset();
	ResGangFightInfosMessage* clone();
	static const int _ID;
	//帮战积分
	int16 myGangJifen;
	//成员是否报名,0否1是
	int8 isApply;
	//是否帮战第一周,0否1是
	int8 isFirstWeek;
	//战斗信息
	vector<GangFightBean*> gangFightBean;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
